<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
    <head>
        <meta charset="UTF-8"/>
        <title>Title</title>
    </head>
    <div th:fragment="page">
        <!--当前页码-->
        <input type="hidden" th:valuetype="$(a)" th:value="1" th:name="pageNum" id="pageNum"/>
        <!--总页数-->
        <input type="hidden" th:value="0" id="pages"/>
        <div id="paging" style="float: right;"></div>
    </div>
</html>